FROM alpine:3.15

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories && apk add bash curl jq

COPY payload.json /payload.json

COPY get-vault.sh /get-vault.sh

ENTRYPOINT /get-vault.sh
